package com.tqfframe.datamanage.listener;

import com.tqfframe.datamanage.event.DemoEvent;
import org.springframework.context.ApplicationEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @Author: 唐祺峰
 * @Date: 2022/3/8 0008 15:55
 * @Version 1.0
 */
@Component
public class DemoListener3 implements ApplicationListener<ApplicationEvent> {

    @Override
    public void onApplicationEvent(ApplicationEvent event) {
        System.out.println("不管什么事件，我都会进行监听。。。。");
    }
}